Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable CGO on build #359

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Conversation

komish
Copy link
Contributor

@komish komish commented Jun 21, 2023

We don't seem to require CGO from what I can see. The golang builder image we use has a newer C toolchain than what's available in RHEL8. If disabling CGO isn't a problem, then this seems like the more compact route to take.

If this doesn't work out in the long term, we can just build from a RHEL8 golang builder image and that should also fix the problem.

Copy link

@jsm84 jsm84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Signed-off-by: Jose R. Gonzalez <[email protected]>
Copy link

@jsm84 jsm84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@komish komish merged commit 53b879a into redhat-certification:main Jun 21, 2023
5 checks passed
@komish komish deleted the build-without-cgo branch June 21, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants